package com.ywu.service.standard.data;

import com.ywu.service.standard.dto.ServiceDto;
import com.ywu.service.standard.entity.ServiceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ServiceRepository {
    List<ServiceEntity> queryAllApplication(@Param("model") ServiceDto serviceDto);

    void addApplication(@Param("model") ServiceEntity serviceDto);

    void updateApplication(@Param("model") ServiceEntity serviceEntity);

    void deleteApplication(@Param("model") ServiceDto serviceDto);

    ServiceEntity checkApplicationInfo(@Param("model") ServiceDto serviceDto);
}
